Boost
boost
arrow_drop_down
Boost.Spirit

This Release

Joel de Guzman
Maintainer
Hartmut Kaiser
Hartmut Kaiser
Maintainer

Spirit

Spirit is a set of C++ libraries for parsing and output generation implemented as Domain Specific Embedded Languages (DSEL) using Expression templates and Template Meta-Programming. The Spirit libraries enable a target grammar to be written exclusively in C++. Inline grammar specifications can mix freely with other C++ code and, thanks to the generative power of C++ templates, are immediately executable.

Spirit.X3 (3rd generation)

Documentation

The newest Spirit shines faster compile times. Currently only a parser framework.

WARNING: C++14 compilers support will be dropped soon.

Spirit X3 in Boost 1.81 (scheduled to November 2022) will use C++17 features.

Supported compilers will be:

  • Clang 4 (currently 3.6)
  • GCC 7 (currently 5)
  • VS 2017 v15.8 (currently 2015 U3)

Spirit V2 (2nd generation)

Documentation

The latest Long Term Support version of Spirit. A Swiss Army knife for data manipulation on any kind of input.

Consists of:

  • Qi: Parser framework.
  • Karma: Generator framework.
  • Lex: Lexical analyzer framework.

Runs on most C++03 compilers (GCC 4.1, Clang 3.0, VS 2005).

Spirit.Classic (1st generation)

Documentation

An elderling member of Spirit. It receives only limited maintanance, but it is still used even inside Boost by Boost.Serialization and Boost.Wave libraries. It also contains Phoenix V1.

Spririt.Classic should support even ancient compilers.

Brief History

Date Boost Commit Event
2014-03-18 1.56 8a353328 Spirit.X3 is added
2013-12-14 1.56 c0537c82 Phoenix V2 is retired
2011-03-28 1.47 400a764d Phoenix V3 support added to Spirit V2
2009-04-30 1.41 5963a395 Spirit.Repository is appeared
2008-04-13 1.36 ffd0cc10 Spirit V2 (Qi, Karma, Lex, Phoenix V2) is added
2006-08-23 1.35 2dc892b4 Fusion V1 is retired
2003-01-31 1.30 81907916 Spirit is the part of the Boost

All Time

Joel de Guzman
Joel de Guzman
Contributor
Nikita Kniazev
Nikita Kniazev
Contributor
Ben Hanson
Contributor
K-ballo
K-ballo
Contributor
Mario Lang
Mario Lang
Contributor
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
Contributor
Tobias Schwinger
Tobias Schwinger
Contributor
João Abecasis
João Abecasis
Contributor
François Barel
François Barel
Contributor
Martin Wille
Contributor
Daniel James
Daniel James
Contributor
Thomas Bernard
Thomas Bernard
Contributor
octopus-prime
octopus-prime
Contributor
Beman Dawes
Beman Dawes
Contributor
Maxim Ivanov
Maxim Ivanov
Contributor
mxc-commons
mxc-commons
Contributor
Lee Clagett
Lee Clagett
Contributor
Andrey Semashev
Andrey Semashev
Contributor
Benjamin Roland Buch
Benjamin Roland Buch
Contributor
nobody
Contributor
akumta
akumta
Contributor
Troy D. Straszheim
Troy D. Straszheim
Contributor
Eric Niebler
Contributor
Stefan Slapeta
Contributor
jzmaddock
jzmaddock
Contributor
octopus-prime
Contributor
Romain Geissler
Romain Geissler
Contributor
Vladimir Prus
Vladimir Prus
Contributor
Douglas Gregor
Douglas Gregor
Contributor
Seth Heeren
Seth Heeren
Contributor
Dan Marsden
Dan Marsden
Contributor
Ahmed Charles
Ahmed Charles
Contributor
Han Wang
Han Wang
Contributor
Sohail Somani
Contributor
Rene Rivera
Rene Rivera
Contributor
Michael Caisse
Michael Caisse
Contributor
Stephen Kelly
Stephen Kelly
Contributor
Steven Watanabe
Steven Watanabe
Contributor
Marshall Clow
Marshall Clow
Contributor
LeonineKing1199
LeonineKing1199
Contributor
Dave Abrahams
Dave Abrahams
Contributor
Giovanni Bajo
Giovanni Bajo
Contributor
Jeremiah Willcock
Jeremiah Willcock
Contributor
Christopher Schmidt
Contributor
Jamboree
Jamboree
Contributor
Takeshi Abe
Takeshi Abe
Contributor
Markus Schöpflin
Contributor
Baptiste Wicht
Baptiste Wicht
Contributor
Marcel Raad
Marcel Raad
Contributor
Thomas Heller
Thomas Heller
Contributor
Michael A. Jackson
Michael A. Jackson
Contributor
Adrian Vogelsgesang
Adrian Vogelsgesang
Contributor
Jürgen Hunold
Jürgen Hunold
Contributor
Kohei Takahashi
Kohei Takahashi
Contributor
Jeff Trull
Jeff Trull
Contributor
Théo DELRIEU
Théo DELRIEU
Contributor
Mikalai Ananenka
Mikalai Ananenka
Contributor
Alexander Grund
Alexander Grund
Contributor
cppljevans
Contributor
Sergiu Dotenco
Sergiu Dotenco
Contributor
Tomoki Imai
Tomoki Imai
Contributor
Agustín K-ballo Bergé
Agustín K-ballo Bergé
Contributor
Jan Kundrát
Jan Kundrát
Contributor
Mikhail Strelnikov
Mikhail Strelnikov
Contributor
Thomas Bernard
Contributor
Kirit Sælensminde
Kirit Sælensminde
Contributor
Felipe Magno de Almeida
Felipe Magno de Almeida
Contributor
MaksimMyasnikov
MaksimMyasnikov
Contributor
drivehappy
drivehappy
Contributor
Denis Trüby
Denis Trüby
Contributor
Marcel Raad
Marcel Raad
Contributor
Aleksey Gurtovoy
Contributor
glacierx
glacierx
Contributor
Edward Catmur
Edward Catmur
Contributor
Artem Tokmakov
Artem Tokmakov
Contributor
Jerry Dy
Contributor
sdarwin
sdarwin
Contributor
Brian Wignall
Brian Wignall
Contributor
Tim Angus
Tim Angus
Contributor
Boris Gubenko
Contributor
Xeverous
Xeverous
Contributor
Edward Diener
Edward Diener
Contributor
Yuri Khan
Contributor
Andrzej Krzemieński
Andrzej Krzemieński
Contributor
Ruben Van Boxem
Ruben Van Boxem
Contributor
Brian Kuhl
Brian Kuhl
Contributor
Peter Dimov
Peter Dimov
Contributor
Daniel Wallin
Contributor
Jonathan Turkanis
Jonathan Turkanis
Contributor
Victor A. Wagner Jr.
Contributor
Peder Holt
Peder Holt
Contributor
Thomas Witt
Thomas Witt
Contributor
Anthony Williams
Contributor
Andy Elvey
Contributor
Ruslan Baratov
Ruslan Baratov
Contributor
Thomas Heller
Thomas Heller
Contributor
Stephan Aiche
Stephan Aiche
Contributor
James Widman
James Widman
Contributor
Nicolas Cornu
Contributor
Lauri Nurmi
Lauri Nurmi
Contributor
Mateusz Łoskot
Mateusz Łoskot
Contributor
Richard
Richard
Contributor
Maks Naumov
Maks Naumov
Contributor
David Abdurachmanov
David Abdurachmanov
Contributor
Jürgen Hunold
Contributor
Laurent Stacul
Laurent Stacul
Contributor
tobias-loew
Contributor
mgresens
Contributor
Dmitry Marakasov
Dmitry Marakasov
Contributor
David Olsen
David Olsen
Contributor
Benjamin Buch
Benjamin Buch
Contributor
mike96
mike96
Contributor
Deokhwan Kim
Deokhwan Kim
Contributor
Marc Gallagher
Marc Gallagher
Contributor
Daniela Engert
Daniela Engert
Contributor
James E. King, III
James E. King, III
Contributor
mdhooge
mdhooge
Contributor
David Tardon
David Tardon
Contributor
Andre Schroeder
Andre Schroeder
Contributor
Ed Catmur
Ed Catmur
Contributor
Adam Merz
Adam Merz
Contributor
Christian Andersen
Contributor
Henri Menke
Henri Menke
Contributor
Akira Takahashi
Akira Takahashi
Contributor
Godmar Back
Godmar Back
Contributor
Patrick Welche
Patrick Welche
Contributor
ttan
ttan
Contributor
Tinko Bartels
Tinko Bartels
Contributor
stefan301
stefan301
Contributor
Duzy Chan
Contributor
Kevin Puetz
Kevin Puetz
Contributor
Eugene Zelenko
Eugene Zelenko
Contributor
Jan-Grimo Sobez
Jan-Grimo Sobez
Contributor
Julianus Pfeuffer
Julianus Pfeuffer
Contributor
Giovanni Mascellani
Giovanni Mascellani
Contributor
Malcolm Parsons
Malcolm Parsons
Contributor
camolezi
Contributor
Calvin Cramer
Contributor
Rudolf Lovrenčić
Rudolf Lovrenčić
Contributor
theidexisted
theidexisted
Contributor
UMU
UMU
Contributor
Roel Standaert
Roel Standaert
Contributor
Katsunori Wakita
Katsunori Wakita
Contributor
Yuriy Chernyshov
Yuriy Chernyshov
Contributor
Tobias Loew
Tobias Loew
Contributor
Yang Lin
Yang Lin
Contributor
Ivan A. Melnikov
Ivan A. Melnikov
Contributor